Rails.application.routes.draw do
  root to: "articles#index"
  resources :articles
  mount Ckeditor::Engine => '/ckeditor'
  get 'home/index'

  get 'home/edit'

  # For details on the DSL available within this file, see http://guides.rubyonrails.org/routing.html

  get '/elfinder_manager', to: 'elfinder#index'
  match 'elfinder' => 'elfinder#elfinder', via: [:get, :post]
end
